package com.cqq.print.business.dao;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.cqq.print.business.dao.domain.PProduce;


/**
 * @author generated
 * @date 2015-07-01
 */
public interface PProduceDao {


    
    int deleteByPrimaryKey(Integer id);

    int insertSelective(PProduce record);

    PProduce selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PProduce record);

    List<PProduce> queryProduces(Map<String,Object> map);
    
    int queryProducesCount(Map<String,Object> map);
    
    PProduce queryProduceById(@Param("id")Integer id);
    
    PProduce queryProduceByOrderNum(@Param("orderNum")String orderNum);

}